import request from '@/utils/request'

interface ConsultationParams {
  pageCurrent: number
  pageSize: number
}

interface ConsultationData {
  id?: number
  imageUrl: string
  linkUrl?: string
  sort?: number
  status?: number
  startTime?: string
  endTime?: string
}

// 获取列表
export function getConsultationList(params: ConsultationParams) {
  return request({
    url: '/system/records/listForAdmin',
    method: 'get',
    params
  })
}

